package cn.com.bluemoon.daps.model.service;

import cn.com.bluemoon.daps.common.domain.ResultBean;
import cn.com.bluemoon.daps.common.mp.IBmService;
import cn.com.bluemoon.daps.model.entity.DapDataModelTableForeignKey;

import java.util.List;

public interface DapDataModelTableForeignKeyService extends IBmService<DapDataModelTableForeignKey> {

    public Boolean delForeignKey(String tableId, List<String> ids);

    public boolean delTableForeignKey(String tableId);

    public ResultBean<Boolean> updateOrInsertKey(List<DapDataModelTableForeignKey> keys);

}
